Skip to main content

Partially update a cost target planning entry.

PATCH 

https://app.nops.io/c/cost_page/cost_target_planning/:id/

Allows updating specific fields in a cost target planning entry identified by its ID. Useful for modifying individual fields without a full payload, supporting updates to planning parameters or allocation details.

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this cost target planning.

Body

required

    dimension_1 Dimension 1 (string)nullable

    Possible values: <= 1024 characters

    dimension_2 Dimension 2 (string)nullable

    Possible values: <= 1024 characters

    previous_month Previous month (number)nullable
    avg_lookback Avg lookback (number)nullable
    percent_growth Percent growth (number)nullable
    percent_spend Percent spend (number)nullable
    target_type Target type (string)

    Possible values: [TOTAL, PLANNING_ITEM]

    target_items Target items (string)nullable
    cost_target Cost target (integer)nullable

Responses

Schema

    id ID (integer)
    created date-time
    modified date-time
    dimension_1 Dimension 1 (string)nullable

    Possible values: <= 1024 characters

    dimension_2 Dimension 2 (string)nullable

    Possible values: <= 1024 characters

    previous_month Previous month (number)nullable
    avg_lookback Avg lookback (number)nullable
    percent_growth Percent growth (number)nullable
    percent_spend Percent spend (number)nullable
    target_type Target type (string)

    Possible values: [TOTAL, PLANNING_ITEM]

    target_items Target items (string)nullable
    client Client (integer)
    cost_target Cost target (integer)nullable

Request Collapse all
Base URL
https://app.nops.io/c/cost_page
Auth
Parameters
— pathrequired
Body required
{
  "dimension_1": "string",
  "dimension_2": "string",
  "previous_month": 0,
  "avg_lookback": 0,
  "percent_growth": 0,
  "percent_spend": 0,
  "target_type": "TOTAL",
  "target_items": "string",
  "cost_target": 0
}
ResponseClear

Click the Send API Request button above and see the response here!